#ifndef __FORM_HWND_H__
#define __FORM_HWND_H__

#include "IOptionUi.h"

class CFormHwnd : public virtual IFormHwnd
{
INIT_CLASS_SINGLETON(CFormHwnd)
public:
	::HWND GetMainFormHwnd();
	void SetMainFormHwnd(::HWND ptrFormHwnd);
	::HWND GetSubjectMonitorFormHwnd();
	void SetSubjectMonitorFormHwnd(::HWND ptrFormHwnd);
	::HWND GetSubjectOrderMathingFormHwnd();
	void SetSubjectOrderMathingFormHwnd(::HWND ptrFormHwnd);
	::HWND GetContractFormHwnd(void * ptrContract);
	void SetContractFormHwnd(void * ptrContract, ::HWND ptrFormHwnd);
    ::HWND GetChildHwnd(::HWND hParent, int iId);
    void SetRiskInfoFormHwnd(::HWND ptrFormHwnd);
    ::HWND GetRiskInfoFormHwnd();
    void SetFastQuoteFormHwnd(::HWND ptrFormHwnd);
    ::HWND GetFastQuoteFormHwnd();
    void SetPreviewRiskFormHwnd(::HWND ptrFormHwnd);
    ::HWND GetPreviewRiskFormHwnd();
    void SetEntTrdFormHwnd(::HWND ptrFormHwnd);
    ::HWND GetEntTrdFormHwnd();
};

#endif//__FORM_HWND_H__